const runtime.mutexMMask
14 uses
runtime (current package)
lock_spinbit.go#L63: mutexMMask = 0x3FF
lock_spinbit.go#L96: if size&mutexMMask != 0 {
lock_spinbit.go#L98: "incompatible with mutex flag mask ", hex(mutexMMask), "\n")
lock_spinbit.go#L112: if highBits := v &^ mutexMMask; highBits == 0 {
lock_spinbit.go#L114: } else if m0bits := muintptr(unsafe.Pointer(&m0)); highBits == uintptr(m0bits)&^mutexMMask {
lock_spinbit.go#L148: return atomic.Loaduintptr(&l.key)&^mutexMMask != 0
lock_spinbit.go#L189: if next&^mutexMMask == 0 {
lock_spinbit.go#L242: next := (uintptr(unsafe.Pointer(gp.m)) &^ mutexMMask) | v&mutexMMask | mutexSleeping
lock_spinbit.go#L282: if v&^mutexMMask == 0 || v&mutexStackLocked != 0 {
lock_spinbit.go#L363: if v&^mutexMMask == 0 || v&mutexStackLocked != 0 {
lock_spinbit.go#L419: headM := v &^ mutexMMask
lock_spinbit.go#L420: flags := v & (mutexMMask &^ mutexStackLocked) // preserve low bits, but release stack lock
lock_spinbit.go#L454: headM = uintptr(mp.mWaitList.next) &^ mutexMMask
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |